﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSCV.Group8.BlogRollWebPart.Helper
{
    /// <summary>
    /// The constants using in this blog roll web part
    /// </summary>
    public static class HelperConst
    {
        public const string HTML_PATTERN_TAG = "<.*?>"; //Html Tag pattern using to remove the html tags
        public const string TITLE_TAG = "Title"; //Title field
        public const string ID_TAG = "ID"; //ID field
        public const string COMMENT_TAG = "Comments"; //Name of the Comment List
        public const string POST_CONTENT_TAG = "Body"; //Content of Post field name
        public const string COMMENT_CONTENT_TAG = "Body"; // Content of Comment field name
        public const string PUBLISHED_DATE_TAG = "PublishedDate"; // Post Published Date field name
        public const string DATE_MODIFIED_TAG = "Modified"; // Post Modified Date field name
        public const string AUTHOR_TAG = "Author"; //Author field name
        public const string URL_TAG = "URL"; //URL field name
        public const string CREATED_TAG = "Created"; //Created field name
        public const string POST_ID_TAG = "PostID"; //Post ID field name
        public const string POST_TITLE_TAG = "PostTitle"; //Post Title field name
        public const string POST_LIST_TAG = "Posts"; //Name of the Post List
        public const string COMMENT_LIST_TAG = "Comments"; //Name of the comment list/s        
        public const string BLOG_TEMPLATE_STRING_TAG = "BLOG";  //Name of the Blog template created by SP
        public const string MODIFIED_TAG = "Modified";
        public const string PICTURE_URL_TAG = "PictureURL";
        public const string TRUE_STRING_TAG = "True";
        public const string FALSE_STRING_TAG = "False";
        public const string DEFAULT_COMMENT_TITLE_PREFIX_TAG = "Re: ";
        public const string DEFAULT_COMMENT_TITLE_SPLIT_TAG = ";#";
        public const string DEFAULT_PICTURE_URL_PATH_TAG = "/_layouts/images/O14_person_placeHolder_96.png";
        public const string EMPTY_STRING_TAG = "";
        public const string MORE_STRING_TAG = ". . .";

        public const string NEWLINE_TAG = "<BR />";


    }
}
